package com.clj.fastble.callback;

import com.clj.fastble.exception.BleException;

/**
 * BleNotifyCallback
 */
public abstract class BleNotifyCallback extends BleBaseCallback {
    /**
     * onNotifySuccess
     */
    public abstract void onNotifySuccess();

    /**
     * onNotifyFailure
     * @param exception exception
     */
    public abstract void onNotifyFailure(BleException exception);

    /**
     * onCharacteristicChanged
     * @param data data
     */
    public abstract void onCharacteristicChanged(byte[] data);
}
